package org.yang.database.minio.callback;


import io.minio.PostPolicy;
import org.springframework.validation.annotation.Validated;

/**
 * 回调接口
 * @author: Islands
 * @description:
 * @version：v1.0
 * @date: 2024/8/27 20:28
 */


public interface Callback<T>{

    /**
     * 设置文件策略回调接口
     * @param policy 策略设置
     * @return  PostPolicy 策略对象
     */
    PostPolicy run(PostPolicy policy);
}
